package com.onlineclass.onlineclassmanagement.service;


import com.onlineclass.beas.User;
import com.onlineclass.onlineclassmanagement.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    UserMapper mapper;

    public User selectUserById(int id){
        return mapper.selectUserById(id);
    }

}
